@include("system::admin.layouts._header")
<body>

<div class="layuimini-container">
    <form id="app-form" class="layui-form layuimini-form" method="post">

        <div class="layui-form-item">
            <label class="layui-form-label">名称</label>
            <div class="layui-input-block">
                <input type="text" name="name" class="layui-input" placeholder="请输入名称" value="">
                <tip>填写名称。</tip>
            </div>
        </div>

		<div class="layui-form-item">
			<label class="layui-form-label">平台类型</label>
			<div class="layui-input-block">
                <select name="type" id="type" lay-filter="type">
                    <option value="0">请选择平台类型</option>
                    @foreach(config('mp.platform') as $mpIdent => $mpName)
                        <option value="{{$mpIdent}}">{{$mpName}}</option>
                    @endforeach
                </select>
                <tip>请选择平台类型。</tip>
			</div>
		</div>

		<div class="layui-form-item">
			<label class="layui-form-label">AppId</label>
			<div class="layui-input-block">
				<input type="text" name="app_id" class="layui-input" placeholder="请输入AppId" value="">
				<tip>填写AppId。</tip>
			</div>
		</div>

		<div class="layui-form-item">
			<label class="layui-form-label">AppKey</label>
			<div class="layui-input-block">
				<input type="text" name="app_key" class="layui-input" placeholder="请输入AppKey" value="">
				<tip>填写AppKey。</tip>
			</div>
		</div>



        <div class="hr-line"></div>
        <div class="layui-form-item text-center">
            <button type="submit" class="layui-btn layui-btn-normal layui-btn-sm" lay-submit>确认</button>
            <button type="reset" class="layui-btn layui-btn-primary layui-btn-sm">重置</button>
        </div>

    </form>
</div>
</body>
</html>
